#include <myhead.h>
int main(int argc, const char *argv[])
{
	char arr[10]="";
	FILE*p1=NULL;
	FILE*p2=NULL;
	if((p1=fopen(argv[1],"r"))==NULL ||
	   (p2=fopen(argv[2],"w"))==NULL)
	{
		perror("打开错误：");
		return -1;
	}
	while(1)
	{
		char *i=fgets(arr,10,p1);
		if(i==NULL)break;
		fputs(arr,p2);
	}
	return 0;
}
